Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Environmental Cheminformatics
plan-b
Commits
1132a47f
Commit
1132a47f
authored
Jun 04, 2021
by
Todor Kondic
Browse files
stations.yml: New playbook for PFs
parent
728b7fb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
stations.yml
0 → 100644
View file @
1132a47f
# Standard play. Requires install-bare-guix.yml to have been executed
# before.
-
hosts
:
stations
become
:
True
become_method
:
sudo
remote_user
:
adamsmith
vars_files
:
-
vars/users.yml
-
vars/passwords.yml
pre_tasks
:
-
name
:
Update repositories
apt
:
update_cache=yes
changed_when
:
False
tasks
:
# - name: Set hostname.
# ansible.builtin.hostname:
# name: "{{ inventory_hostname }}"
# tags: hostname
-
include
:
tasks/users.yml
tags
:
users
-
name
:
Copy profiles.
tags
:
profile
copy
:
src
:
files/home/user/.profile
dest
:
"
/home/{{
item.login
}}/.profile"
become_user
:
"
{{
item.login
}}"
loop
:
"
{{
users
}}"
-
include
:
tasks/apt.yml
tags
:
apt
# Set lightdm as login manager and make it listen to incoming
# connections.
-
include
:
tasks/lightdm.yml
tags
:
lightdm
-
include
:
tasks/guix.yml
tags
:
guix
# - include: tasks/emacs.yml
# tags: emacs
# - include: tasks/r-setup.yml
# tags: r-setup
# # - include: tasks/metfrag.yml
# # tags: metfrag
handlers
:
-
name
:
restart-lightdm
command
:
systemctl restart lightdm
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment