generated from roles-ansible/ansible_role_template
-
-
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 #15 from roles-ansible/v2
V2
- Loading branch information
Showing
10 changed files
with
105 additions
and
102 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
exclude_paths: | ||
- .github/ |
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,23 +1,23 @@ | ||
--- | ||
# Adding additional Package Server hosted by ETH Zürich | ||
l3d_pkgs__adding_ethz: true | ||
l3d_pkgs__ethz_contrib: true | ||
l3d_pkgs__ethz_non_free: true | ||
l3d_pkgs__ethz_non_free_firmware: true | ||
l3d_pkgs__ethz_security: true | ||
l3d_pkgs__ethz_updates: true | ||
l3d_pkgs__ethz__backports: true | ||
packages__adding_ethz: true | ||
packages__ethz_contrib: true | ||
packages__ethz_non_free: true | ||
packages__ethz_non_free_firmware: true | ||
packages__ethz_security: true | ||
packages__ethz_updates: true | ||
packages__ethz__backports: true | ||
|
||
# Methods for updating Packages | ||
# set this to latest for updating packages managed by this role | ||
l3d_pkgs__package_state: 'present' | ||
l3d_pkgs__upgrade_all: false | ||
packages__package_state: 'present' | ||
packages__upgrade_all: false | ||
|
||
# Select packages to install | ||
l3d_pkgs__install_advanced: false | ||
l3d_pkgs__install_python: false | ||
l3d_pkgs__install_cli: false | ||
l3d_pkgs__install_extra_packages: [] | ||
packages__install_advanced: false | ||
packages__install_python: false | ||
packages__install_cli: false | ||
packages__install_extra_packages: [] | ||
|
||
# Optional perform simple Versionscheck | ||
submodules_versioncheck: false | ||
packages__submodules_versioncheck: false |
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,30 +1,30 @@ | ||
--- | ||
- name: Show Information about target OS (on verbose) | ||
ansible.builtin.include_tasks: | ||
file: os_info.yml | ||
file: 'os_info.yml' | ||
|
||
- name: Run simple versionscheck (optional) | ||
ansible.builtin.include_tasks: | ||
file: versioncheck.yml | ||
when: submodules_versioncheck | bool | ||
file: 'versioncheck.yml' | ||
when: packages__submodules_versioncheck | bool | ||
|
||
- name: Adding additional apt sources (optional) | ||
ansible.builtin.include_tasks: | ||
file: sources_ethz.yml | ||
file: 'sources_ethz.yml' | ||
when: | ||
- l3d_pkgs__adding_ethz | bool | ||
- packages__adding_ethz | bool | ||
- ansible_architecture == 'x86_64' | ||
- ansible_distribution == 'Debian' and ansible_distribution_version | float >= 8 | ||
- ansible_pkg_mgr == "apt" | ||
|
||
- name: Install packages based on selection | ||
ansible.builtin.include_tasks: | ||
file: packages.yml | ||
file: 'packages.yml' | ||
|
||
- name: Upgrade all packages to latest | ||
become: true | ||
ansible.builtin.package: | ||
name: "*" | ||
state: "{{ base__package_state }}" | ||
when: | ||
- l3d_pkgs__upgrade_all | bool | ||
- packages__upgrade_all | bool |
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