Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit d753d4a5 authored by Freezed's avatar Freezed
Browse files

:construction: WIP - Add game packages management

parent f52ea232
No related branches found
No related tags found
No related merge requests found
...@@ -55,6 +55,15 @@ ...@@ -55,6 +55,15 @@
state: present state: present
update_cache: true update_cache: true
- name: APT | install game packages
when: inventory_hostname in groups.game
ansible.builtin.apt:
cache_valid_time: 3600
force_apt_get: yes
pkg: game_pkg
state: present
update_cache: true
- name: APT | uninstall packages - name: APT | uninstall packages
ansible.builtin.apt: ansible.builtin.apt:
pkg: "{{ lookup('flattened', base_uninstall_pkg, os_uninstall_pkg) }}" pkg: "{{ lookup('flattened', base_uninstall_pkg, os_uninstall_pkg) }}"
......
...@@ -31,3 +31,4 @@ git_repositories: ...@@ -31,3 +31,4 @@ git_repositories:
- {local_name: "pyconfr19", url_https: "https://gitlab.com/free_zed/pyconfr19.git"} - {local_name: "pyconfr19", url_https: "https://gitlab.com/free_zed/pyconfr19.git"}
- {local_name: "python-itop-api", url_https: "https://github.com/guillaume-philippon/python-itop-api.git"} - {local_name: "python-itop-api", url_https: "https://github.com/guillaume-philippon/python-itop-api.git"}
- {local_name: "signature_pad", url_https: "https://github.com/szimek/signature_pad.git"} - {local_name: "signature_pad", url_https: "https://github.com/szimek/signature_pad.git"}
- {local_name: "endless-sky-wiki", url_https: "https://github.com/endless-sky/endless-sky.wiki.git"}
...@@ -23,6 +23,10 @@ base_pkg: ...@@ -23,6 +23,10 @@ base_pkg:
base_uninstall_pkg: [] base_uninstall_pkg: []
game_pkg:
- 0ad
- endless-sky
station_pkg: station_pkg:
- ansible - ansible
- cheese - cheese
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment