Linting and stuff

This commit is contained in:
Sam A. 2023-07-01 01:18:03 +02:00
parent 3391dfa41c
commit 77effd7bf4
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
3 changed files with 3 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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: