Disable eos_user eapi tests (#26895)

They are failing, so let's disable them and we investigate in other change
the fix.
We can revert this when fixed.
This commit is contained in:
Ricardo Carrillo Cruz 2017-07-17 14:34:36 +02:00 committed by GitHub
parent bd24c4ce9d
commit d3fcb0d1de
2 changed files with 0 additions and 44 deletions

View file

@ -1,3 +1,2 @@
---
- { include: cli.yaml, tags: ['cli'] }
- { include: eapi.yaml, tags: ['eapi'] }

View file

@ -1,43 +0,0 @@
---
- name: Create user
eos_user:
username: netend
privilege: 15
role: network-operator
state: present
authorize: yes
provider: "{{ eapi }}"
register: result
- assert:
that:
- 'result.changed == true'
- 'result.commands == ["username netend role network-operator", "username netend privilege 15"]'
- name: Collection of users
eos_user:
users:
- username: test1
- username: test2
authorize: yes
state: present
role: network-admin
provider: "{{ eapi }}"
register: result
- assert:
that:
- 'result.changed == true'
- 'result.commands == ["username test1 role network-admin", "username test2 role network-admin"]'
- name: tearDown
eos_user:
purge: yes
authorize: yes
provider: "{{ eapi }}"
register: result
- assert:
that:
- 'result.changed == true'
- 'result.commands == ["no username netend", "no username test1", "no username test2"]'