-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from rolehippie/fqcn-and-linting
Use fully qualified collection names (FQCN) and fix linting for latest ansible-later version and drop Ubuntu 18.04
- Loading branch information
Showing
12 changed files
with
100 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,8 @@ rules: | |
- molecule/ubuntu/tests | ||
- README.md | ||
|
||
yamllint: | ||
document-end: | ||
present: True | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# Standards: 1.2 | ||
--- | ||
- name: Converge | ||
hosts: all | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,51 @@ | ||
# Standards: 1.2 | ||
--- | ||
- name: Prepare | ||
hosts: all | ||
gather_facts: False | ||
|
||
tasks: | ||
- name: Stat apt dir | ||
register: aptdir | ||
ansible.builtin.stat: | ||
path: /var/lib/apt | ||
|
||
- name: Wait for aptlock | ||
shell: while fuser /var/lib/apt/lists/lock >/dev/null 2>&1; do echo 'Waiting for apt list lock.' && sleep 10; done | ||
when: aptdir.stat.exists | ||
changed_when: False | ||
ansible.builtin.shell: | ||
cmd: while fuser /var/lib/apt/lists/lock >/dev/null 2>&1; do echo 'Waiting for apt list lock.' && sleep 10; done | ||
|
||
- name: Update package cache | ||
apt: | ||
when: aptdir.stat.exists | ||
ansible.builtin.apt: | ||
update_cache: True | ||
|
||
- name: Install gpg dependency | ||
apt: | ||
name: python3-gpg | ||
- name: Install test dependencies | ||
when: aptdir.stat.exists | ||
loop: | ||
- python3-gpg | ||
- curl | ||
ansible.builtin.apt: | ||
name: "{{ item }}" | ||
state: present | ||
|
||
- name: Install curl dependency | ||
apt: | ||
name: curl | ||
state: present | ||
- name: Create man dirs | ||
changed_when: False | ||
loop: | ||
- /usr/share/man/man1 | ||
- /usr/share/man/man2 | ||
- /usr/share/man/man3 | ||
- /usr/share/man/man4 | ||
- /usr/share/man/man5 | ||
- /usr/share/man/man6 | ||
- /usr/share/man/man7 | ||
- /usr/share/man/man8 | ||
- /usr/share/man/man9 | ||
ansible.builtin.file: | ||
path: "{{ item }}" | ||
owner: root | ||
group: root | ||
mode: u=rwx,g=rx,o=rx | ||
state: directory | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# Standards: 1.2 | ||
--- | ||
collections: [] | ||
roles: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters