- Page 1 and 2:
[ 1 ]www.allitebooks.com
- Page 3 and 4:
Mastering AnsibleCopyright © 2015
- Page 5 and 6:
About the AuthorJesse Keating is an
- Page 7 and 8:
About the ReviewersRyan Eschinger i
- Page 9 and 10:
Patrik Uytterhoeven has over 16 yea
- Page 12 and 13:
Table of ContentsPrefaceviiChapter
- Page 14 and 15:
[ iii ]Table of ContentsPython obje
- Page 16:
Table of ContentsLookup plugins 193
- Page 19 and 20:
PrefaceChapter 7, Troubleshooting A
- Page 21 and 22:
PrefaceErrataAlthough we have taken
- Page 23 and 24:
System Architecture and Design of A
- Page 25 and 26:
System Architecture and Design of A
- Page 27 and 28:
System Architecture and Design of A
- Page 29 and 30:
System Architecture and Design of A
- Page 31 and 32:
System Architecture and Design of A
- Page 33 and 34:
System Architecture and Design of A
- Page 35 and 36:
System Architecture and Design of A
- Page 37 and 38:
System Architecture and Design of A
- Page 39 and 40:
System Architecture and Design of A
- Page 41 and 42:
System Architecture and Design of A
- Page 43 and 44:
System Architecture and Design of A
- Page 45 and 46:
System Architecture and Design of A
- Page 47 and 48:
System Architecture and Design of A
- Page 49 and 50:
System Architecture and Design of A
- Page 51 and 52:
System Architecture and Design of A
- Page 53 and 54:
System Architecture and Design of A
- Page 55 and 56:
Protecting Your Secrets with Ansibl
- Page 57 and 58:
Protecting Your Secrets with Ansibl
- Page 59 and 60:
Protecting Your Secrets with Ansibl
- Page 61 and 62:
Protecting Your Secrets with Ansibl
- Page 63 and 64:
Protecting Your Secrets with Ansibl
- Page 65 and 66:
Protecting Your Secrets with Ansibl
- Page 67 and 68:
Protecting Your Secrets with Ansibl
- Page 70 and 71:
Unlocking the Power ofJinja2 Templa
- Page 72 and 73:
Chapter 3Executing this playbook wi
- Page 74 and 75:
Chapter 3Changing the value of api.
- Page 76 and 77:
Chapter 3{% if dir != "/" %}data_di
- Page 78 and 79:
Chapter 3Now, we can execute the pl
- Page 80 and 81:
Chapter 3{{ dir }}{{ comma(loop) }}
- Page 82 and 83:
argumentsThe arguments variable is
- Page 84 and 85:
Chapter 3The rendered version of th
- Page 86 and 87:
Chapter 3The rendered result will b
- Page 88 and 89:
[ 67 ]Chapter 3Data manipulationWhi
- Page 90 and 91:
Chapter 3While default is very usef
- Page 92 and 93:
Chapter 3shuffleSimilar to the rand
- Page 94 and 95:
Chapter 3expanduserOften, paths to
- Page 96 and 97:
Chapter 3Searching for contentIt is
- Page 98 and 99:
Chapter 3Python object methodsJinja
- Page 100 and 101:
Comparing valuesComparisons are use
- Page 102 and 103:
Controlling Task ConditionsAnsible
- Page 104 and 105:
Chapter 4This time when we run the
- Page 106 and 107:
Chapter 4We simply stated that any
- Page 108 and 109:
Chapter 4In the scenario in which t
- Page 110 and 111:
Chapter 4The changed_when argument
- Page 112 and 113:
Chapter 4The convenience of creates
- Page 114:
Chapter 4To suppress change, simply
- Page 117 and 118:
Composing Reusable Ansible Content
- Page 119 and 120:
Composing Reusable Ansible Content
- Page 121 and 122:
Composing Reusable Ansible Content
- Page 123 and 124:
Composing Reusable Ansible Content
- Page 125 and 126:
Composing Reusable Ansible Content
- Page 127 and 128:
Composing Reusable Ansible Content
- Page 129 and 130:
Composing Reusable Ansible Content
- Page 131 and 132:
Composing Reusable Ansible Content
- Page 133 and 134:
Composing Reusable Ansible Content
- Page 135 and 136:
Composing Reusable Ansible Content
- Page 137 and 138:
Composing Reusable Ansible Content
- Page 139 and 140:
Composing Reusable Ansible Content
- Page 141 and 142:
Composing Reusable Ansible Content
- Page 143 and 144:
Composing Reusable Ansible Content
- Page 145 and 146:
Composing Reusable Ansible Content
- Page 147 and 148:
Composing Reusable Ansible Content
- Page 149 and 150:
Composing Reusable Ansible Content
- Page 151 and 152:
Composing Reusable Ansible Content
- Page 154 and 155:
Minimizing Downtime withRolling Dep
- Page 156 and 157:
Chapter 6Now, we can start creating
- Page 158 and 159:
Chapter 6• The run-away processes
- Page 160 and 161:
Chapter 6- name: haproxy configtemp
- Page 162 and 163:
Chapter 6Now when we execute, we'll
- Page 164 and 165:
Now, if we change our conditional s
- Page 166 and 167:
Chapter 6Let's run this new play to
- Page 168 and 169:
Chapter 6Forcing handlers to run ca
- Page 170 and 171:
Chapter 6For our top-level playbook
- Page 172 and 173:
Now, let's execute the playbook aga
- Page 174 and 175:
Chapter 6When we run this play, we'
- Page 176 and 177:
Troubleshooting AnsibleAnsible is s
- Page 178 and 179:
Chapter 7Variable introspectionA co
- Page 180 and 181: Chapter 7Running this modified play
- Page 182 and 183: Using debug to display the entire c
- Page 184 and 185: Chapter 7When running this play, we
- Page 186 and 187: Chapter 7To discover the path to th
- Page 188 and 189: Chapter 7The where and the list com
- Page 190 and 191: Chapter 7The PlayBook class __init_
- Page 192 and 193: My development system is a Mac lapt
- Page 194 and 195: Chapter 7To demonstrate how this de
- Page 196 and 197: Chapter 7From this point on, we can
- Page 198: Chapter 7SummaryAnsible is software
- Page 201 and 202: Extending AnsibleThe basic module c
- Page 203 and 204: Extending AnsibleWith a module obje
- Page 205 and 206: Extending AnsibleModule documentati
- Page 207 and 208: Extending AnsibleWith this variable
- Page 209 and 210: Extending Ansiblesample: "/path/to/
- Page 211 and 212: Extending AnsibleProviding fact dat
- Page 213 and 214: Extending AnsibleHandling check mod
- Page 215 and 216: Extending AnsibleVars pluginsConstr
- Page 217 and 218: Extending AnsibleCallback pluginsCa
- Page 219 and 220: Extending AnsibleThat's all we have
- Page 221 and 222: Extending Ansible• digital_ocean
- Page 223 and 224: Extending Ansible3. Now, we'll crea
- Page 225 and 226: Extending AnsibleIf we pass --list,
- Page 227 and 228: Extending AnsibleOptimizing script
- Page 229: Extending AnsibleSummaryAnsible is
- Page 233 and 234: included tasks, tagging 105, 106var
- Page 235 and 236: Ansible ConfigurationManagementSeco