Skip to content

Commit

Permalink
Merge pull request #32 from kushaldas/fix_28
Browse files Browse the repository at this point in the history
Fixes #28 ansible 7.7 series
  • Loading branch information
kushaldas committed Feb 7, 2024
2 parents 03580f9 + b08e953 commit 9fdbedd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion ansible_module/conns/qubes.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ class Connection(ConnectionBase):
# String used to identify this Connection class from other classes
transport = 'qubes'
has_pipelining = True
become_methods = frozenset(C.BECOME_METHODS)

def __init__(self, play_context, new_stdin, *args, **kwargs):
super(Connection, self).__init__(play_context, new_stdin, *args, **kwargs)
Expand Down
5 changes: 4 additions & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,10 @@ Here is an example playbook (install_packages.yaml) for the same.
- hosts: xchat7
tasks:
- name: Ensure sl is at the latest version
package: name=sl state=latest
ansible.builtin.package:
name: sl
state: latest
become: true
- name: example copying file with owner and permissions
copy:
src: foo.conf
Expand Down
5 changes: 4 additions & 1 deletion examples/install_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
- hosts: xchat7
tasks:
- name: Ensure sl is at the latest version
package: name=sl state=latest
ansible.builtin.package:
name: sl
state: latest
become: true
- name: example copying file with owner and permissions
copy:
src: foo.conf
Expand Down

0 comments on commit 9fdbedd

Please sign in to comment.