Fix ansible run during installation with limitted groups.
This commit is contained in:
parent
8856b74e91
commit
ed7dadf612
3 changed files with 3 additions and 3 deletions
|
@ -132,7 +132,7 @@
|
||||||
cmd: unzip -d /tmp/cb/ CodeBlocks.zip && dpkg -i cb/*.deb
|
cmd: unzip -d /tmp/cb/ CodeBlocks.zip && dpkg -i cb/*.deb
|
||||||
chdir: /tmp/
|
chdir: /tmp/
|
||||||
when: codeblocks_version.stdout is not search('svn13456')
|
when: codeblocks_version.stdout is not search('svn13456')
|
||||||
when: inventory_hostname in groups.PCroom
|
when: groups.PCroom is defined and inventory_hostname in groups.PCroom
|
||||||
|
|
||||||
## Temporarily fix boot order
|
## Temporarily fix boot order
|
||||||
- name: Check for the buggy kernel
|
- name: Check for the buggy kernel
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
command: /usr/local/sbin/bootorder.sh
|
command: /usr/local/sbin/bootorder.sh
|
||||||
register: cmd_result
|
register: cmd_result
|
||||||
changed_when: cmd_result.stdout is not search('Nothing to do.')
|
changed_when: cmd_result.stdout is not search('Nothing to do.')
|
||||||
when: inventory_hostname in groups["PCroom"]
|
when: groups.PCroom is defined and inventory_hostname in groups.PCroom
|
||||||
|
|
||||||
- name: Copy dolphin config scripts
|
- name: Copy dolphin config scripts
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
|
|
|
@ -26,4 +26,4 @@
|
||||||
deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-proposed-updates
|
deb http://deb.debian.org/debian/ {{ ansible_distribution_release }}-proposed-updates
|
||||||
main non-free-firmware
|
main non-free-firmware
|
||||||
state: present
|
state: present
|
||||||
when: inventory_hostname in groups["R202"]
|
when: groups.R202 is defined and inventory_hostname in groups.R202
|
||||||
|
|
Loading…
Add table
Reference in a new issue