Linting and stuff
This commit is contained in:
parent
3391dfa41c
commit
77effd7bf4
|
@ -2,4 +2,4 @@
|
||||||
remote_user = ubuntu
|
remote_user = ubuntu
|
||||||
remote_tmp = /tmp/.ansible
|
remote_tmp = /tmp/.ansible
|
||||||
inventory = inventory
|
inventory = inventory
|
||||||
use_persistent_connections = True
|
use_persistent_connections = true
|
||||||
|
|
|
@ -18,15 +18,13 @@
|
||||||
|
|
||||||
- name: Create base directories for Docker volumes
|
- name: Create base directories for Docker volumes
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
name: "{{ volume }}"
|
name: "{{ item }}"
|
||||||
owner: root
|
owner: root
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
state: directory
|
state: directory
|
||||||
loop:
|
loop:
|
||||||
- "{{ base_volume }}"
|
- "{{ base_volume }}"
|
||||||
- "{{ mass_data_volume }}"
|
- "{{ mass_data_volume }}"
|
||||||
loop_control:
|
|
||||||
loop_var: volume
|
|
||||||
|
|
||||||
- name: Deploy services
|
- name: Deploy services
|
||||||
ansible.builtin.include_tasks: services/{{ item.key }}.yml
|
ansible.builtin.include_tasks: services/{{ item.key }}.yml
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
update_password: always
|
update_password: always
|
||||||
loop: "{{ users }}"
|
loop: "{{ users }}"
|
||||||
|
no_log: true
|
||||||
|
|
||||||
- name: Add ssh authorized_keys
|
- name: Add ssh authorized_keys
|
||||||
ansible.posix.authorized_key:
|
ansible.posix.authorized_key:
|
||||||
|
|
Reference in a new issue