Content-Length: 287100 | pFad | http://github.com/saltstack/salt/commit/59b16971eb319787139a3b62eb417566568718b7

F2 Fix ansible tests · saltstack/salt@59b1697 · GitHub
Skip to content

Commit 59b1697

Browse files
committed
Fix ansible tests
1 parent 5f96f47 commit 59b1697

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/pytests/integration/states/test_ansiblegate.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,10 @@ def test_ansible_playbook(salt_call_cli, ansible_inventory, tmp_path):
7474
- hosts: all
7575
tasks:
7676
- name: remove postfix
77-
yum:
77+
dnf:
7878
name: postfix
7979
state: absent
8080
become: true
81-
become_user: root
8281
"""
8382
)
8483
remove_playbook = rundir / "remove.yml"
@@ -89,11 +88,10 @@ def test_ansible_playbook(salt_call_cli, ansible_inventory, tmp_path):
8988
- hosts: all
9089
tasks:
9190
- name: install postfix
92-
yum:
91+
dnf:
9392
name: postfix
9493
state: present
9594
become: true
96-
become_user: root
9795
"""
9896
)
9997
install_playbook = rundir / "install.yml"

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/saltstack/salt/commit/59b16971eb319787139a3b62eb417566568718b7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy