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_tmp = /tmp/.ansible
inventory = inventory
use_persistent_connections = True
use_persistent_connections = true

View file

@ -18,15 +18,13 @@
- name: Create base directories for Docker volumes
ansible.builtin.file:
name: "{{ volume }}"
name: "{{ item }}"
owner: root
mode: u=rwx,g=rx,o=rx
state: directory
loop:
- "{{ base_volume }}"
- "{{ mass_data_volume }}"
loop_control:
loop_var: volume
- name: Deploy services
ansible.builtin.include_tasks: services/{{ item.key }}.yml

View file

@ -9,6 +9,7 @@
shell: /bin/bash
update_password: always
loop: "{{ users }}"
no_log: true
- name: Add ssh authorized_keys
ansible.posix.authorized_key: