builtin

This collection contains 71 modules.

ModuleSynopsisCollection
add_host controllerAdd a host to the in-memory inventory during a playbuiltin
aptInstall, upgrade and remove packages with apt on Debian and Ubuntubuiltin
apt_keyAdd or remove trusted apt signing keysbuiltin
apt_repositoryAdd or remove an apt repository definitionbuiltin
assembleConcatenate fragment files from a directory into one destination filebuiltin
assert controllerFail the play unless the given conditions all holdbuiltin
async_statusPoll the status of a task started with asyncbuiltin
blockinfileInsert, update or remove a marked block of lines in a filebuiltin
commandRun a command directly, without a shellbuiltin
copyCopy files from the controller to remote hostsbuiltin
cronManage entries in a user's crontabbuiltin
deb822_repositoryManage apt repositories in the deb822 .sources formatbuiltin
debconfRead and set debconf answers before a package is configuredbuiltin
debug controllerPrint a message or the value of a variable during a playbuiltin
dnfInstall, upgrade and remove packages with dnf on Fedora and RHELbuiltin
dnf5Install, upgrade and remove packages with the dnf5 backendbuiltin
dpkg_selectionsPin or unpin a dpkg package selectionbuiltin
expectRun a command and answer its interactive promptsbuiltin
fail controllerStop the play on this host with a custom messagebuiltin
fetchCopy files from remote hosts back to the controllerbuiltin
fileManage the state, ownership and permissions of files and directoriesbuiltin
findSearch a directory tree for files matching size, age or name criteriabuiltin
get_urlDownload a file over HTTP, HTTPS or FTP to the targetbuiltin
getentQuery a Name Service Switch database such as passwd or groupbuiltin
gitCheck out and update a git repository on the targetbuiltin
groupCreate, modify and remove Unix groupsbuiltin
group_by controllerCreate inventory groups from a host expression during a playbuiltin
hostnameSet the system hostnamebuiltin
import_roleStatically import a role's tasks at parse timebuiltin
import_tasksStatically include a task file at parse timebuiltin
include_tasksDynamically include a task file at run timebuiltin
include_varsLoad variables from a file or directory into the playbuiltin
iptablesManage individual iptables rulesbuiltin
known_hostsAdd or remove entries in a known_hosts filebuiltin
lineinfileEnsure a single line is present in, or absent from, a filebuiltin
meta controllerControl playbook execution flow, such as ending a play or clearing factsbuiltin
mountManage filesystem mounts and their fstab entriesbuiltin
mount_factsGather facts about currently mounted filesystemsbuiltin
packageInstall or remove packages using whichever package manager the target usesbuiltin
package_factsGather facts about packages installed on the targetbuiltin
pausePause the play for a fixed time or until the operator continuesbuiltin
pingVerify that a host is reachable and can run modulesbuiltin
pipManage Python packages with pipbuiltin
rawRun a command over the connection with no module machinery at allbuiltin
rebootReboot the target and wait for it to come backbuiltin
replaceReplace every occurrence of a pattern in a filebuiltin
rpm_keyAdd or remove an RPM signing key from the trusted setbuiltin
scriptCopy a script from the controller, run it on the target, then remove itbuiltin
serviceStart, stop, restart and enable services on any init systembuiltin
service_factsGather facts about services known to the init systembuiltin
set_fact controllerDefine variables for the current host during a playbuiltin
setupCollect facts about the target hostbuiltin
shellRun a command through the target's shell, with pipes and redirectionbuiltin
slurpRead a file from the target and return it base64-encodedbuiltin
statRetrieve metadata about a file, directory or devicebuiltin
svnCheck out and update a Subversion working copybuiltin
systemdManage systemd units, including daemon reloads and maskingbuiltin
systemd_serviceManage systemd services by their unit namebuiltin
sysvinitManage services on hosts using SysV init scriptsbuiltin
tempfileCreate a temporary file or directory on the targetbuiltin
templateRender a Jinja2 template on the controller and install the resultbuiltin
unarchiveUnpack an archive, optionally copying it to the target firstbuiltin
uriMake an HTTP request and check or capture the responsebuiltin
userCreate, modify and remove user accountsbuiltin
validate_argument_specValidate supplied arguments against a role's argument specificationbuiltin
vars_promptPrompt the operator for a variable valuebuiltin
wait_forWait for a port, path or pattern to reach a given statebuiltin
wait_for_connection controllerWait until the target accepts a connection and can run modulesbuiltin
yumInstall, upgrade and remove packages with yumbuiltin
yum_repositoryCreate and remove yum repository definitionsbuiltin