Use ansible collections for things

This commit is contained in:
Jake Howard
2021-02-07 13:02:14 +00:00
parent e8496ddced
commit c4999d7b25
8 changed files with 21 additions and 13 deletions

View File

@ -3,3 +3,7 @@ skip_list:
- 401
- 301
- 503
exclude_paths:
- ansible/galaxy_roles/
- ansible/galaxy_collections/

View File

@ -3,6 +3,7 @@ nocows = 1
host_key_checking = False
retry_files_enabled = False
roles_path = $PWD/galaxy_roles:$PWD/roles
collections_path = $PWD/galaxy_collections
inventory = ./hosts
become_ask_pass = True
interpreter_python = auto

View File

@ -1,6 +1,11 @@
- src: geerlingguy.docker
- src: geerlingguy.ntp
- src: realorangeone.reflector
- src: https://github.com/IronicBadger/ansible-role-proxmox-nag-removal
name: proxmox-nag-removal
- src: chmduquesne.iptables_persistent
collections:
- ansible.posix
- community.general
roles:
- src: geerlingguy.docker
- src: geerlingguy.ntp
- src: realorangeone.reflector
- src: https://github.com/IronicBadger/ansible-role-proxmox-nag-removal
name: proxmox-nag-removal
- src: chmduquesne.iptables_persistent

View File

@ -26,7 +26,7 @@
register: sshd_config
- name: Set up authorized keys
authorized_key:
ansible.posix.authorized_key:
user: "{{ user }}"
state: present
key: "{{ lookup('file', item) }}"

View File

@ -2,6 +2,7 @@ extends: default
ignore: |
ansible/galaxy_roles
ansible/galaxy_collections
ansible/group_vars/all/hosts.yml
ansible/roles/traefik/files/traefik.yml
ansible/roles/nebula/files/nebula.yml