Have a dedicated file for private variables
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
c9ea933d5b
commit
722a86d1b5
1 changed files with 14 additions and 0 deletions
|
@ -44,6 +44,20 @@
|
||||||
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: ensure /srv/private dir exists with the expected permissions
|
||||||
|
file:
|
||||||
|
path: "/srv/private"
|
||||||
|
state: directory
|
||||||
|
mode: 0640
|
||||||
|
owner: root
|
||||||
|
group: fedmsg
|
||||||
|
- name: place the private variables file
|
||||||
|
copy:
|
||||||
|
src: "{{ private }}/vars_loopabull.yml"
|
||||||
|
dest: "/srv/private/vars_loopabull.yml"
|
||||||
|
mode: 0640
|
||||||
|
owner: root
|
||||||
|
group: fedmsg
|
||||||
- name: ensure ~/.ssh dir exists
|
- name: ensure ~/.ssh dir exists
|
||||||
file:
|
file:
|
||||||
path: "/home/root/.ssh/"
|
path: "/home/root/.ssh/"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue