-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change to FQCN with ansible-lint fixer
Since ansible-base 2.10 (later ansible-core), FQCN is the new way to go. Updated .ansible-lint with a production profile and removed fqcn in skip_list. Updated .yamllint with rules needed. Ran ansible-lint --fix=all, then manually applied some minor changes.
- Loading branch information
Showing
48 changed files
with
315 additions
and
316 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
--- | ||
profile: production | ||
exclude_paths: | ||
# default paths | ||
- '.cache/' | ||
- '.github/' | ||
- 'test/fixtures/formatting-before/' | ||
- 'test/fixtures/formatting-prettier/' | ||
- .cache/ | ||
- .github/ | ||
- test/fixtures/formatting-before/ | ||
- test/fixtures/formatting-prettier/ | ||
|
||
# The "converge" and "reset" playbooks use import_playbook in | ||
# conjunction with the "env" lookup plugin, which lets the | ||
# syntax check of ansible-lint fail. | ||
- 'molecule/**/converge.yml' | ||
- 'molecule/**/prepare.yml' | ||
- 'molecule/**/reset.yml' | ||
- molecule/**/converge.yml | ||
- molecule/**/prepare.yml | ||
- molecule/**/reset.yml | ||
|
||
# The file was generated by galaxy ansible - don't mess with it. | ||
- 'galaxy.yml' | ||
- galaxy.yml | ||
|
||
skip_list: | ||
- 'fqcn-builtins' | ||
- var-naming[no-role-prefix] |
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,2 +1,2 @@ | ||
--- | ||
ansible_user: '{{ proxmox_lxc_ssh_user }}' | ||
ansible_user: "{{ proxmox_lxc_ssh_user }}" |
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
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
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
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
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,36 +1,34 @@ | ||
--- | ||
|
||
- name: Download k3s binary x64 | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/k3s | ||
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/sha256sum-amd64.txt | ||
dest: /usr/local/bin/k3s | ||
owner: root | ||
group: root | ||
mode: 0755 | ||
mode: "0755" | ||
when: ansible_facts.architecture == "x86_64" | ||
|
||
- name: Download k3s binary arm64 | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/k3s-arm64 | ||
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/sha256sum-arm64.txt | ||
dest: /usr/local/bin/k3s | ||
owner: root | ||
group: root | ||
mode: 0755 | ||
mode: "0755" | ||
when: | ||
- ( ansible_facts.architecture is search("arm") and | ||
ansible_facts.userspace_bits == "64" ) or | ||
ansible_facts.architecture is search("aarch64") | ||
- ( ansible_facts.architecture is search("arm") and ansible_facts.userspace_bits == "64" ) | ||
or ansible_facts.architecture is search("aarch64") | ||
|
||
- name: Download k3s binary armhf | ||
get_url: | ||
ansible.builtin.get_url: | ||
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/k3s-armhf | ||
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/sha256sum-arm.txt | ||
dest: /usr/local/bin/k3s | ||
owner: root | ||
group: root | ||
mode: 0755 | ||
mode: "0755" | ||
when: | ||
- ansible_facts.architecture is search("arm") | ||
- ansible_facts.userspace_bits == "32" |
Oops, something went wrong.