Add RHEL 7.3 to ansible-test and CI. (#26550)

* Add support for RHEL to ansible-test.
* Enable RHEL 7.3 on Shippable.
This commit is contained in:
Matt Clay 2017-07-07 16:52:40 -07:00 committed by GitHub
commit 4a013d6d69
6 changed files with 51 additions and 9 deletions

View file

@ -58,6 +58,7 @@ class AnsibleCoreCI(object):
'aws',
'windows',
'freebsd',
'rhel',
'vyos',
'junos',
'ios',

View file

@ -116,6 +116,8 @@ class ManagePosixCI(object):
self.become = ['su', '-l', 'root', '-c']
elif self.core_ci.platform == 'osx':
self.become = ['sudo', '-in', 'PATH=/usr/local/bin:$PATH']
elif self.core_ci.platform == 'rhel':
self.become = ['sudo', '-in', 'bash', '-c']
def setup(self):
"""Start instance and wait for it to become ready and respond to an ansible ping."""