diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2023-01-10 01:45:51 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2023-03-23 08:52:06 +0000 |
commit | 6e1210326b5fb7c2bc0a99f64203e5b59e197cdd (patch) | |
tree | d9fa1a8cc9b187cfc5e3dd2e90a0ac6b74aafb09 /ansible | |
parent | 607cedc30854819782acac774aadbb0894202ce9 (diff) |
ansible: hosts: replace invalid char minus ("-") in host group names
Change-Id: I0c13ce4edb7f57c7ff77141b5511080bba639ec0
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/README.md | 2 | ||||
-rw-r--r-- | ansible/hosts | 8 | ||||
-rw-r--r-- | ansible/setup-gsm-tester.yml | 2 | ||||
-rw-r--r-- | ansible/setup-jenkins-slave.yml | 4 | ||||
-rw-r--r-- | ansible/setup-obs-worker.yml | 2 |
5 files changed, 9 insertions, 9 deletions
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 @@ User root # 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/'"` +`ansible jenkins_slaves -u root -a "su - osmocom-build -c 'docker login -u jenkins_slave -p PASSWD https://registry.osmocom.org/'"` 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 @@ rpi4-raspbian11build-ansible-3 ansible_host=10.9.25.70 docker_max_image_space="2 [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" |