Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb39904bab | ||
|
|
a391fa1c2b
|
||
|
|
545e56bad5 | ||
|
|
8d54768c1b
|
||
|
|
afd4288ebd
|
@@ -12,9 +12,9 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- name: Run ansible-lint
|
||||
uses: ansible/ansible-lint@665d9e07a1943254d2910faffc106adaf7ea7294 # v26.8.0
|
||||
uses: ansible/ansible-lint@e7f397ad6dfa20d274afa17cd7bbedd84ed136f5 # v26.9.0
|
||||
with:
|
||||
args: "--config-file .ansible-lint"
|
||||
# The molecule scenario is linted as well, so its collections are required beside the ones of the role.
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on:
|
||||
- ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: DavidAnson/markdownlint-cli2-action@ded1f9488f68a970bc66ea5619e13e9b52e601cd # v23.2.0
|
||||
with:
|
||||
globs: '**/*.md'
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
runs-on: ubuntu-latest-amd64
|
||||
steps:
|
||||
# The scenario includes the role by its directory name, whose parent is used as roles path.
|
||||
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
path: unix-users
|
||||
- name: Install molecule
|
||||
@@ -49,7 +49,7 @@
|
||||
unix_user.value.btrfs
|
||||
block:
|
||||
- name: "Copy skel files"
|
||||
ansible.builtin.include_tasks: copy_skel_file.yaml
|
||||
ansible.builtin.include_tasks: copy_skel_file.yml
|
||||
loop_control:
|
||||
loop_var: skel_file
|
||||
with_items:
|
||||
@@ -164,7 +164,7 @@
|
||||
|
||||
- name: "Create shell rc files"
|
||||
when: unix_user.value.shell_rc_files is defined
|
||||
ansible.builtin.include_tasks: create_shell_rc_file.yaml
|
||||
ansible.builtin.include_tasks: create_shell_rc_file.yml
|
||||
with_items:
|
||||
- "{{ unix_user.value.shell_rc_files }}"
|
||||
loop_control:
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Remove unix user
|
||||
ansible.builtin.include_tasks: remove_unix_user.yaml
|
||||
ansible.builtin.include_tasks: remove_unix_user.yml
|
||||
with_dict: "{{ unix_users }}"
|
||||
loop_control:
|
||||
loop_var: unix_user
|
||||
@@ -11,7 +11,7 @@
|
||||
unix_user.value.state == 'absent'
|
||||
|
||||
- name: Remove unix groups
|
||||
ansible.builtin.include_tasks: remove_unix_group.yaml
|
||||
ansible.builtin.include_tasks: remove_unix_group.yml
|
||||
with_dict: "{{ unix_groups }}"
|
||||
loop_control:
|
||||
loop_var: unix_group
|
||||
@@ -21,7 +21,7 @@
|
||||
unix_group.value.state == 'absent'
|
||||
|
||||
- name: Create unix groups
|
||||
ansible.builtin.include_tasks: create_unix_group.yaml
|
||||
ansible.builtin.include_tasks: create_unix_group.yml
|
||||
with_dict: "{{ unix_groups }}"
|
||||
loop_control:
|
||||
loop_var: unix_group
|
||||
@@ -33,7 +33,7 @@
|
||||
)
|
||||
|
||||
- name: Create unix users
|
||||
ansible.builtin.include_tasks: create_unix_user.yaml
|
||||
ansible.builtin.include_tasks: create_unix_user.yml
|
||||
no_log: true
|
||||
with_dict: "{{ unix_users }}"
|
||||
loop_control:
|
||||
Reference in New Issue
Block a user