|
|
@ -14,18 +14,19 @@
|
|
|
|
path: '{{key_path}}'
|
|
|
|
path: '{{key_path}}'
|
|
|
|
register: key
|
|
|
|
register: key
|
|
|
|
- name: Get key
|
|
|
|
- name: Get key
|
|
|
|
|
|
|
|
become: true
|
|
|
|
ansible.builtin.command:
|
|
|
|
ansible.builtin.command:
|
|
|
|
chdir: /tmp
|
|
|
|
chdir: /tmp
|
|
|
|
cmd: wget -O ./keyring.gpg '{{ key_url }}'
|
|
|
|
cmd: wget -O '{{ key_path }}' '{{ key_url }}'
|
|
|
|
creates: /tmp/keyring.gpg
|
|
|
|
|
|
|
|
when: not key.stat.exists
|
|
|
|
|
|
|
|
- name: Dearmor key
|
|
|
|
|
|
|
|
ansible.builtin.command:
|
|
|
|
|
|
|
|
chdir: /tmp
|
|
|
|
|
|
|
|
cmd: gpg --dearmor -o {{ key_path }} ./keyring.gpg
|
|
|
|
|
|
|
|
creates: '{{key_path}}'
|
|
|
|
creates: '{{key_path}}'
|
|
|
|
become: true
|
|
|
|
|
|
|
|
when: not key.stat.exists
|
|
|
|
when: not key.stat.exists
|
|
|
|
|
|
|
|
# - name: Dearmor key
|
|
|
|
|
|
|
|
# ansible.builtin.command:
|
|
|
|
|
|
|
|
# chdir: /tmp
|
|
|
|
|
|
|
|
# cmd: gpg --dearmor -o {{ key_path }} ./keyring.gpg
|
|
|
|
|
|
|
|
# creates: '{{key_path}}'
|
|
|
|
|
|
|
|
# become: true
|
|
|
|
|
|
|
|
# when: not key.stat.exists
|
|
|
|
- name: install repo
|
|
|
|
- name: install repo
|
|
|
|
become: true
|
|
|
|
become: true
|
|
|
|
ansible.builtin.template:
|
|
|
|
ansible.builtin.template:
|
|
|
@ -38,7 +39,7 @@
|
|
|
|
autoclean: true
|
|
|
|
autoclean: true
|
|
|
|
autoremove: true
|
|
|
|
autoremove: true
|
|
|
|
install_recommends: true
|
|
|
|
install_recommends: true
|
|
|
|
pkg: [firefox-mozilla-build]
|
|
|
|
pkg: [firefox]
|
|
|
|
state: latest
|
|
|
|
state: latest
|
|
|
|
update_cache: true
|
|
|
|
update_cache: true
|
|
|
|
- name: Get host app
|
|
|
|
- name: Get host app
|
|
|
|