commit fca4bab6f4925517a76882d61d64b6abb3498ff1
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue May 14 11:28:22 2019 +0200
don't change password and keys on builders
roles/base/tasks/main.yml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml
index be41e3c..043e79a 100644
--- a/roles/base/tasks/main.yml
+++ b/roles/base/tasks/main.yml
@@ -113,7 +113,7 @@
tags:
- rootpw
- base
- when: not
inventory_hostname.startswith(('build','bkernel','koji01.stg','s390','fed-cloud09'))
+ when: not
inventory_hostname.startswith(('build','arm-build','aarch64'))
- name: add ansible root key
authorized_key: user=root key="{{ item }}"
@@ -122,6 +122,7 @@
tags:
- config
- base
+ when: not
inventory_hostname.startswith(('build','arm-build','aarch64'))
- name: make sure our resolv.conf is the one being used - set RESOLV_MODS=no in
/etc/sysconfig/network
lineinfile: dest=/etc/sysconfig/network create=yes backup=yes state=present
line='RESOLV_MODS=no' regexp=^RESOLV_MODS=