mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
commit
815b32685b
2 changed files with 4 additions and 3 deletions
|
@ -42,3 +42,4 @@ Author
|
|||
Michael DeHaan -- michael@ansibleworks.com
|
||||
|
||||
[AnsibleWorks](http://ansibleworks.com)
|
||||
|
||||
|
|
|
@ -46,13 +46,13 @@ options:
|
|||
|
||||
EXAMPLES = '''
|
||||
# Example action to import a key from a url
|
||||
- rpm_key state=present key=http://apt.sw.be/RPM-GPG-KEY.dag.txt
|
||||
- rpm_key: state=present key=http://apt.sw.be/RPM-GPG-KEY.dag.txt
|
||||
|
||||
# Example action to import a key from a file
|
||||
- rpm_key state=present key=/path/to/key.gpg
|
||||
- rpm_key: state=present key=/path/to/key.gpg
|
||||
|
||||
# Example action to ensure a key is not present in the db
|
||||
- rpm_key state=absent key=DEADB33F
|
||||
- rpm_key: state=absent key=DEADB33F
|
||||
'''
|
||||
import syslog
|
||||
import os.path
|
||||
|
|
Loading…
Reference in a new issue