mirror of https://github.com/ansible/ansible.git
Backportapalooza 06 16 (#78072)
* Docsite: Updated style guide resources (#78048) (cherry picked from commitpull/78106/head561cf1956d
) * Create reusable role layout snippet for documentation (#78057) * reuse role structure * reuse role snippet in role docs (cherry picked from commitf4ad1c771e
) * Docsite: update links to community docs (#78043) (cherry picked from commit46d86a882d
) * Windows - incorrect python-devel package in WinRM docs (#78037) Co-authored-by: Emanuele Barbato <manu@Giuseppes-MacBook-Air.local> (cherry picked from commit681dc6eab9
) * issue #72449 winrm script rm (#77931) (cherry picked from commit3cd2c494bd
) * reword the regex note (#75393) Co-authored-by: Matt Martz <matt@sivel.net> Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com> (cherry picked from commit66c0882314
) * Document debconf interaction with dpkg-reconfigure (#74196) Signed-off-by: David Greaves <david@dgreaves.com> (cherry picked from commit5b90601ca4
) Co-authored-by: Lewis Brogan <ilewisbrogan@gmail.com> Co-authored-by: Andrew Klychkov <aklychko@redhat.com> Co-authored-by: Emanuele Barbato <30394740+emanuelebarbato@users.noreply.github.com> Co-authored-by: Don Naro <dnaro@redhat.com> Co-authored-by: David Greaves <david@dgreaves.com>
parent
739fb490c7
commit
f09e6b7769
@ -0,0 +1,26 @@
|
|||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
roles/
|
||||||
|
common/ # this hierarchy represents a "role"
|
||||||
|
tasks/ #
|
||||||
|
main.yml # <-- tasks file can include smaller files if warranted
|
||||||
|
handlers/ #
|
||||||
|
main.yml # <-- handlers file
|
||||||
|
templates/ # <-- files for use with the template resource
|
||||||
|
ntp.conf.j2 # <------- templates end in .j2
|
||||||
|
files/ #
|
||||||
|
bar.txt # <-- files for use with the copy resource
|
||||||
|
foo.sh # <-- script files for use with the script resource
|
||||||
|
vars/ #
|
||||||
|
main.yml # <-- variables associated with this role
|
||||||
|
defaults/ #
|
||||||
|
main.yml # <-- default lower priority variables for this role
|
||||||
|
meta/ #
|
||||||
|
main.yml # <-- role dependencies
|
||||||
|
library/ # roles can also include custom modules
|
||||||
|
module_utils/ # roles can also include custom module_utils
|
||||||
|
lookup_plugins/ # or other types of plugins, like lookup in this case
|
||||||
|
|
||||||
|
webtier/ # same kind of structure as "common" was above, done for the webtier role
|
||||||
|
monitoring/ # ""
|
||||||
|
fooapp/ # ""
|
Loading…
Reference in New Issue