lynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/30918 )
Change subject: hosts: replace invalid char minus ("-") in host group names ......................................................................
hosts: replace invalid char minus ("-") in host group names
Change-Id: I0c13ce4edb7f57c7ff77141b5511080bba639ec0 --- M ansible/README.md M ansible/hosts M ansible/setup-gsm-tester.yml M ansible/setup-jenkins-slave.yml M ansible/setup-obs-worker.yml 5 files changed, 9 insertions(+), 9 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/18/30918/1
diff --git a/ansible/README.md b/ansible/README.md index e5d146c..9085c74 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -33,4 +33,4 @@
# how to make slaves log-in to registry.osmocom.org:
-`ansible jenkins-slaves -u root -a "su - osmocom-build -c 'docker login -u jenkins-slave -p PASSWD https://registry.osmocom.org/%27%22%60 +`ansible jenkins_slaves -u root -a "su - osmocom-build -c 'docker login -u jenkins_slave -p PASSWD https://registry.osmocom.org/%27%22%60 diff --git a/ansible/hosts b/ansible/hosts index 0551d44..b62ef82 100644 --- a/ansible/hosts +++ b/ansible/hosts @@ -1,12 +1,12 @@ -[gsm-tester] +[gsm_tester] osmo-gsm-tester-rnd ansible_host=10.9.25.101 osmo-gsm-tester-prod ansible_host=10.9.25.107
-[coverity-slaves] +[coverity_slaves] build2-deb11build-ansible ansible_host=2a01:4f8:10b:2ad9::1:13 build3-deb11build-ansible ansible_host=2a01:4f8:212:3762::1:3
-[jenkins-slaves] +[jenkins_slaves] build2-deb10build-ansible ansible_host=2a01:4f8:10b:2ad9::1:10 osmocom_jenkins_slave_fstrim=True build2-deb11build-ansible ansible_host=2a01:4f8:10b:2ad9::1:13 osmocom_jenkins_slave_fstrim=True build3-deb11build-ansible ansible_host=2a01:4f8:212:3762::1:3 osmocom_jenkins_slave_fstrim=True @@ -20,7 +20,7 @@ [simtester] simtest ansible_host=10.9.25.80
-[obs-workers] +[obs_workers] build3-obsworker1 ansible_host=2a01:4f8:212:3762::1:2 obs_worker_instances=8 obs_worker_jobs=8 lx2-1-obs-aarch64-1 ansible_host=2a02:8106:13:1e34:4e9:e7ff:fe97:fe92 obs_worker_instances=1 obs_worker_jobs=4
diff --git a/ansible/setup-gsm-tester.yml b/ansible/setup-gsm-tester.yml index 9d27256..526b621 100644 --- a/ansible/setup-gsm-tester.yml +++ b/ansible/setup-gsm-tester.yml @@ -1,6 +1,6 @@ --- - name: setup osmo-gsm-tester apu - hosts: gsm-tester + hosts: gsm_tester user: root tasks: - name: install common utilities diff --git a/ansible/setup-jenkins-slave.yml b/ansible/setup-jenkins-slave.yml index 7eac8b7..5813b40 100644 --- a/ansible/setup-jenkins-slave.yml +++ b/ansible/setup-jenkins-slave.yml @@ -1,6 +1,6 @@ --- - name: setup jenkins slaves - hosts: jenkins-slaves + hosts: jenkins_slaves user: root vars_files: - "vars/{{ ansible_facts['os_family'] }}-{{ ansible_facts['distribution_major_version']}}.yml" @@ -47,7 +47,7 @@ - name: ntpd
- name: setup coverity slaves - hosts: coverity-slaves + hosts: coverity_slaves user: root roles: - name: install-coverity diff --git a/ansible/setup-obs-worker.yml b/ansible/setup-obs-worker.yml index c742a19..b79e1a5 100644 --- a/ansible/setup-obs-worker.yml +++ b/ansible/setup-obs-worker.yml @@ -1,6 +1,6 @@ --- - name: setup OBS worker - hosts: obs-workers + hosts: obs_workers user: root vars_files: - "vars/{{ ansible_facts['os_family'] }}-{{ ansible_facts['distribution_major_version']}}.yml"