AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ansible osquery3/15/2023 ![]() ![]() However, we recommend you use the FQCN for easy linking to the module documentation and to avoid conflicting with other collections that may have the same module name. In most cases, you can use the short module name copy even without specifying the collections: keyword. ssh/id_rsa - name : Added a consultant whose account you want to expire : name : james18 shell : /bin/zsh groups : developers expires : 1422403387 - name : Starting at Ansible 2.6, modify user, remove expiry time : name : james18 expires : -1 - name : Set maximum expiration date for password : name : ram19 password_expire_max : 10 - name : Set minimum expiration date for password ansible.builtin. This module is part of ansible-core and included in all Ansible installations. name : Add the user 'johnd' with a specific uid and a primary group of 'admin' : name : johnd comment : John Doe uid : 1040 group : admin - name : Add the user 'james' with a bash shell, appending the group 'admins' and 'developers' to the user's groups : name : james shell : /bin/bash groups : admins,developers append : yes - name : Remove the user 'johnd' : name : johnd state : absent remove : yes - name : Create a 2048-bit SSH key for user jsmith in ~jsmith/.ssh/id_rsa : name : jsmith generate_ssh_key : yes ssh_key_bits : 2048 ssh_key_file. Controlling how Ansible behaves: precedence rules.To install it, use: ansible-galaxy collection install community.general. To check whether it is installed, run ansible-galaxy collection list. Collections in the Theforeman Namespace You might already have this collection installed if you are using the ansible package.Collections in the T_systems_mms Namespace.Collections in the Purestorage Namespace.Collections in the Openvswitch Namespace.Collections in the Netapp_eseries Namespace.Collections in the Kubernetes Namespace.Collections in the Junipernetworks Namespace.Collections in the F5networks Namespace.Collections in the Containers Namespace.Collections in the Cloudscale_ch Namespace.Collections in the Chocolatey Namespace.Collections in the Check_point Namespace.Virtualization and Containerization Guides.Protecting sensitive data with Ansible vault. ![]()
0 Comments
Read More
Leave a Reply. |