1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

Merge branch 'main' into t

This commit is contained in:
L3D 2024-04-24 14:12:14 +02:00
commit 2254809838
Signed by: l3d
GPG key ID: CD08445BFF4313D1
3 changed files with 6 additions and 7 deletions

View file

@ -17,7 +17,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Run ansible-lint - name: Run ansible-lint
uses: ansible-actions/ansible-lint-action@v1.0.2 uses: ansible-actions/ansible-lint-action@v1.0.3
with: with:
target: "./" target: "./"
python_dependency_file: 'requirements.txt' python_dependency_file: 'requirements.txt'

View file

@ -17,6 +17,6 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Run yamllint - name: Run yamllint
uses: ansible-actions/yamllint-action@v0.0.1 uses: ansible-actions/yamllint-action@v0.0.2
with: with:
target: "./" target: "./"

View file

@ -7,9 +7,10 @@
- name: General roles for all hosts - name: General roles for all hosts
hosts: all hosts: all
roles: roles:
- {role: l3d.users.user, tags: [test, users, user]} - {role: l3d.users.user, tags: [users, user]}
- {role: l3d.users.admin, tags: [test, users, admin]} - {role: l3d.users.admin, tags: [users, admin]}
- {role: l3d.users.sshd, tags: [test, users, sshd]} - {role: l3d.users.sshd, tags: [users, sshd]}
- {role: l3d.users.dotfiles, tags: [users, dotfiles]}
- {role: l3d.packages, tags: [packages, general]} - {role: l3d.packages, tags: [packages, general]}
- {role: do1jlr.ranger, tags: [packages, ranger]} - {role: do1jlr.ranger, tags: [packages, ranger]}
- {role: gantsign.bat, tags: [packages, bat], when: [ansible_os_family == 'Debian' and "ansible_architecture" == "x86_64"]} - {role: gantsign.bat, tags: [packages, bat], when: [ansible_os_family == 'Debian' and "ansible_architecture" == "x86_64"]}
@ -22,8 +23,6 @@
- name: User specific roles for all hosts - name: User specific roles for all hosts
hosts: all hosts: all
roles: roles:
# - {role: do1jlr.admin_base, tags: [default, init, users, accounts, dotfiles]}
# - {role: do1jlr.dotfiles, tags: [default, dotfiles]}
- {role: geerlingguy.firewall, tags: [default, firewall], become: true} - {role: geerlingguy.firewall, tags: [default, firewall], become: true}
- {role: robertdebock.fail2ban, tags: [default, fail2ban], become: true} - {role: robertdebock.fail2ban, tags: [default, fail2ban], become: true}