File tree Expand file tree Collapse file tree
ansible/roles/jenkins-worker/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6464 state : link
6565 when : " 'rhel72-s390x' in inventory_hostname"
6666
67+ # devtools6_s390x_src should be defined in the host_vars file to be one of
68+ # current hosts that has set RPMs already (in /data/devtoolset-6-s390x-rpms/).
69+ # Example:
70+ # devtools6_s390x_src: test-linuxonecc-rhel72-s390x-1
71+ - name : copy devtools-6 to control host
72+ local_action : command rsync -ar {{ devtools6_s390x_src }}:/data/devtoolset-6-s390x-rpms/ /tmp/devtoolset-6-s390x-rpms/
73+ when : " 'rhel72-s390x' in inventory_hostname"
74+
75+ - name : copy devtools-6 to remote host
76+ synchronize :
77+ src : /tmp/devtoolset-6-s390x-rpms/
78+ dest : /data/devtoolset-6-s390x-rpms/
79+ recursive : true
80+ when : " 'rhel72-s390x' in inventory_hostname"
81+
82+ - name : install devtools-6 on remote host
83+ shell : yum install -y /data/devtoolset-6-s390x-rpms/*
84+ async : 3600
85+ poll : 10
86+ when : " 'rhel72-s390x' in inventory_hostname"
87+
6788- name : add ::1 to /etc/hosts for ipv6 compat
6889 when : not os|startswith("zos")
6990 lineinfile :
You can’t perform that action at this time.
0 commit comments