Modules Maintained by the Ansible Core Team¶
Cloud¶
Amazon¶
- aws_s3 – manage objects in S3
- cloudformation – Create or delete an AWS CloudFormation stack
- ec2 – create, terminate, start or stop an instance in ec2
- ec2_group – maintain an ec2 VPC security group
- ec2_metadata_facts – Gathers facts (instance metadata) about remote hosts within ec2
- ec2_snapshot – creates a snapshot from an existing volume
- ec2_vol – create and attach a volume, return volume id and device map
- ec2_vpc_net – Configure AWS virtual private clouds
- ec2_vpc_net_info – Gather information about ec2 VPCs in AWS
- ec2_vpc_subnet – Manage subnets in AWS virtual private clouds
- ec2_vpc_subnet_info – Gather information about ec2 VPC subnets in AWS
- s3_bucket – Manage S3 buckets in AWS, DigitalOcean, Ceph, Walrus and FakeS3
Files¶
- acl – Set and retrieve file ACL information
- assemble – Assemble configuration files from fragments
- blockinfile – Insert/update/remove a text block surrounded by marker lines
- copy – Copy files to remote locations
- fetch – Fetch files from remote nodes
- file – Manage files and file properties
- find – Return a list of files based on specific criteria
- lineinfile – Manage lines in text files
- stat – Retrieve file or file system status
- synchronize – A wrapper around rsync to make common tasks in your playbooks quick and easy
- template – Template a file out to a remote server
- unarchive – Unpacks an archive after (optionally) copying it from the local machine
Packaging¶
Os¶
- apt – Manages apt-packages
- apt_key – Add or remove an apt key
- apt_repository – Add and remove APT repositories
- dnf – Manages packages with the dnf package manager
- package – Generic OS package manager
- rpm_key – Adds or removes a gpg key from the rpm db
- yum – Manages packages with the yum package manager
- yum_repository – Add or remove YUM repositories
System¶
- at – Schedule the execution of a command or script file via the at command
- authorized_key – Adds or removes an SSH authorized key
- debconf – Configure a .deb package
- gather_facts – Gathers facts about remote hosts
- getent – A wrapper to the unix getent utility
- group – Add or remove groups
- iptables – Modify iptables rules
- mount – Control active and configured mount points
- ping – Try to connect to host, verify a usable python and return pong on success
- reboot – Reboot a machine
- seboolean – Toggles SELinux booleans
- selinux – Change policy and state of SELinux
- service – Manage services
- setup – Gathers facts about remote hosts
- sysctl – Manage entries in sysctl.conf
- systemd – Manage services
- sysvinit – Manage SysV services
- user – Manage user accounts
Utilities¶
Logic¶
- assert – Asserts given expressions are true
- async_status – Obtain status of asynchronous task
- debug – Print statements during execution
- fail – Fail with custom message
- import_playbook – Import a playbook
- import_role – Import a role into a play
- import_tasks – Import a task list
- include – Include a play or task list
- include_role – Load and execute a role
- include_tasks – Dynamically include a task list
- include_vars – Load variables from files, dynamically within a task
- pause – Pause playbook execution
- set_fact – Set host facts from a task
- wait_for – Waits for a condition before continuing
- wait_for_connection – Waits until remote system is reachable/usable
Windows¶
- win_acl – Set file/directory/registry permissions for a system user or group
- win_acl_inheritance – Change ACL inheritance
- win_command – Executes a command on a remote Windows node
- win_copy – Copies files to remote locations on windows hosts
- win_disk_image – Manage ISO/VHD/VHDX mounts on Windows hosts
- win_dns_client – Configures DNS lookup on Windows hosts
- win_domain – Ensures the existence of a Windows domain
- win_domain_controller – Manage domain controller/member server state for a Windows host
- win_domain_membership – Manage domain/workgroup membership for a Windows host
- win_file – Creates, touches or removes files or directories
- win_get_url – Downloads file from HTTP, HTTPS, or FTP to node
- win_group – Add and remove local groups
- win_owner – Set owner
- win_package – Installs/uninstalls an installable package
- win_path – Manage Windows path environment variables
- win_ping – A windows version of the classic ping module
- win_reboot – Reboot a windows machine
- win_regedit – Add, change, or remove registry keys and values
- win_service – Manage and query Windows services
- win_share – Manage Windows shares
- win_shell – Execute shell commands on target hosts
- win_stat – Get information about Windows files
- win_template – Template a file out to a remote server
- win_updates – Download and install Windows updates
- win_user – Manages local Windows user accounts
Note
- (D): This marks a module as deprecated, which means a module is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.