Use correct value of ansible_distribution in integration tests

This fixes integration tests when run on a RHEL system.  Oddly, the
ansible_distribution='RedHat' when run on RHEL.
pull/6302/merge
James Laska 11 years ago
parent 5a235f9e99
commit ba9950a73a

@ -11,7 +11,7 @@
- "install_result.mode == '0755'"
- include: 'sysv_setup.yml'
when: ansible_distribution in ('RHEL', 'CentOS', 'ScientificLinux')
when: ansible_distribution in ['Redhat', 'CentOS', 'ScientificLinux']
- include: 'systemd_setup.yml'
when: ansible_distribution == 'Fedora'
- include: 'upstart_setup.yml'
@ -101,7 +101,7 @@
- "remove_result.state == 'absent'"
- include: 'sysv_cleanup.yml'
when: ansible_distribution in ('RHEL', 'CentOS', 'ScientificLinux')
when: ansible_distribution in ['Redhat', 'CentOS', 'ScientificLinux']
- include: 'systemd_cleanup.yml'
when: ansible_distribution == 'Fedora'
- include: 'upstart_cleanup.yml'

@ -17,5 +17,5 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
- include: 'yum.yml'
when: ansible_distribution in ('RHEL', 'CentOS', 'ScientificLinux', 'Fedora')
when: ansible_distribution in ['RedHat', 'CentOS', 'ScientificLinux', 'Fedora']

Loading…
Cancel
Save