Difference between revisions of "Ansible playbooks examples"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
* [[Install and configure sysstat using Ansible]] (<code>[[package (Ansible module|package)]]</code>, <code>[[lineinfile]]</code>, <code>[[service]]</code>, <code>[[Package:]]</code>)
+
 
* [[Configure user to be able to use sudo with no password]] (<code>[[lineinfile]]</code>)
+
* [[Install software]]: <code>[[package:]]</code>
 +
* [[Install and configure sysstat using Ansible]]: (<code>[[lineinfile:]]</code>, <code>[[service:]]</code>, <code>[[package:]]</code>)
 +
* [[Configure user to be able to use sudo with no password]] (<code>[[lineinfile:]]</code>)
 
* <code>[[ios_ping]]</code>
 
* <code>[[ios_ping]]</code>
 +
* [[Ansible: create Amazon ec2 instance]]
 +
* [[Ansible print and debug examples]]
 +
* [[Update deprecated openssl library from source code]]
  
 
== Related terms ==
 
== Related terms ==
 
* <code>[[vars_files:]]</code>
 
* <code>[[vars_files:]]</code>
 
+
* <code>[[tasks:]]</code>
 
+
* <code>[[hosts:]]</code>
== Basic examples ==
+
* [[Terraform examples]]
 
 
#!/usr/bin/env ansible-playbook
 
 
- hosts: localhost
 
  become: yes
 
 
  tasks:
 
    - [[package:]]
 
          name: sysstat
 
          state: present
 
  
 
== See also ==
 
== See also ==

Latest revision as of 12:32, 5 February 2024

Advertising: