Skip to content

Commit

Permalink
Merge pull request #66 from conorsch/update-include-tags
Browse files Browse the repository at this point in the history
Updates "tags" parameters on includes in main.yml
  • Loading branch information
Sebastian Gumprich committed Feb 1, 2016
2 parents 8bc5c23 + 0cedd99 commit 66f390f
Showing 1 changed file with 33 additions and 12 deletions.
45 changes: 33 additions & 12 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,42 @@
include_vars: "{{ ansible_os_family }}.yml"
tags: always

- include: limits.yml tags=limits
- include: login_defs.yml tags=login_defs
- include: minimize_access.yml tags=minimize_acces
- include: pam.yml tags=pam
- include: profile.yml tags=profile
- include: securetty.yml tags=securetty
- include: suid_sgid.yml tags=suid_sgid
- include: limits.yml
tags: limits

- include: login_defs.yml
tags: login_defs

- include: minimize_access.yml
tags: minimize_acces

- include: pam.yml
tags: pam

- include: profile.yml
tags: profile

- include: securetty.yml
tags: securetty

- include: suid_sgid.yml
when: os_security_suid_sgid_enforce
tags: suid_sgid

- include: sysctl.yml
tags: sysctl

- include: sysctl.yml tags=sysctl
- include: user_accounts.yml tags=user_accounts
- include: rhosts.yml tags=rhosts
- include: user_accounts.yml
tags: user_accounts

- include: yum.yml tags=yum
- include: rhosts.yml
tags: rhosts

- include: yum.yml
when: ansible_os_family == 'RedHat' or ansible_os_family == 'Oracle Linux'
tags: yum

- include: apt.yml tags=apt
- include: apt.yml
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
tags: apt

0 comments on commit 66f390f

Please sign in to comment.