- 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: Patrik Uytterhoeven has over 16 yea
- Page 13 and 14: Table of ContentsFacts discovered a
- Page 15 and 16: Table of ContentsRole application 1
- Page 18 and 19: PrefaceWelcome to Mastering Ansible
- Page 20 and 21: PrefaceNew terms and important word
- Page 22 and 23: System Architecture andDesign of An
- Page 24 and 25: Chapter 1Inventory parsing and data
- Page 26 and 27: Chapter 1Variables are a powerful c
- Page 28 and 29: Chapter 1Inventory parametersansibl
- Page 30 and 31: Chapter 1Run-time inventory additio
- Page 32 and 33: Chapter 1As we can see, both hosts
- Page 34 and 35: Chapter 1• Host selection for pla
- Page 36 and 37: Chapter 1Relative path assumptionsW
- Page 38 and 39: We can clearly see the relative ref
- Page 40 and 41: Chapter 1Once Ansible parses the pa
- Page 42 and 43: Chapter 1At first glance, one might
- Page 44 and 45: Chapter 1This command was piped int
- Page 46 and 47: Chapter 1Task performanceDoing the
- Page 48 and 49: Chapter 1The third major variable t
- Page 50 and 51: Chapter 14. Rest of the variables d
- Page 52 and 53: Chapter 1In some advanced scenarios
- Page 54 and 55: Protecting YourSecrets with Ansible
- Page 56 and 57: Chapter 2Creating new encrypted fil
- Page 58 and 59: Now we save the file. If we try to
- Page 60 and 61:
Chapter 2As with create, encrypt ex
- Page 62 and 63:
The editor will save this and ansib
- Page 64 and 65:
Chapter 2Once again, we have an opt
- Page 66 and 67:
Chapter 2Secrets transmitted to rem
- Page 68:
Chapter 2SummaryAnsible can deal wi
- Page 71 and 72:
Unlocking the Power of Jinja2 Templ
- Page 73 and 74:
Unlocking the Power of Jinja2 Templ
- Page 75 and 76:
Unlocking the Power of Jinja2 Templ
- Page 77 and 78:
Unlocking the Power of Jinja2 Templ
- Page 79 and 80:
Unlocking the Power of Jinja2 Templ
- Page 81 and 82:
Unlocking the Power of Jinja2 Templ
- Page 83 and 84:
Unlocking the Power of Jinja2 Templ
- Page 85 and 86:
Unlocking the Power of Jinja2 Templ
- Page 87 and 88:
Unlocking the Power of Jinja2 Templ
- Page 89 and 90:
Unlocking the Power of Jinja2 Templ
- Page 91 and 92:
Unlocking the Power of Jinja2 Templ
- Page 93 and 94:
Unlocking the Power of Jinja2 Templ
- Page 95 and 96:
Unlocking the Power of Jinja2 Templ
- Page 97 and 98:
Unlocking the Power of Jinja2 Templ
- Page 99 and 100:
Unlocking the Power of Jinja2 Templ
- Page 101 and 102:
Unlocking the Power of Jinja2 Templ
- Page 103 and 104:
Controlling Task ConditionsTo demon
- Page 105 and 106:
Controlling Task ConditionsIf this
- Page 107 and 108:
Controlling Task ConditionsIf we st
- Page 109 and 110:
Controlling Task ConditionsWe check
- Page 111 and 112:
Controlling Task ConditionsJust to
- Page 113 and 114:
Controlling Task ConditionsIf the /
- Page 116 and 117:
Composing Reusable AnsibleContent w
- Page 118 and 119:
Chapter 5Now, we can execute our pl
- Page 120 and 121:
Chapter 5Passing variable values to
- Page 122 and 123:
Chapter 5Passing complex data to in
- Page 124 and 125:
Chapter 5Conditional task includesS
- Page 126 and 127:
Chapter 5Tagging included tasksWhen
- Page 128 and 129:
Chapter 5Including handlersHandlers
- Page 130 and 131:
Chapter 5Including variablesVariabl
- Page 132 and 133:
Now, when we execute the playbook,
- Page 134 and 135:
Chapter 5with_first_found:- "{{ ans
- Page 136 and 137:
Chapter 5Including playbooksPlayboo
- Page 138 and 139:
[ 117 ]Chapter 5DependenciesRoles c
- Page 140 and 141:
Chapter 5- role: commonsimple_var_a
- Page 142 and 143:
Chapter 5To demonstrate applying ro
- Page 144 and 145:
Chapter 5This time when we execute,
- Page 146 and 147:
Chapter 5Note that this only works
- Page 148 and 149:
Chapter 5Now we can make use of thi
- Page 150 and 151:
Let's demonstrate this capability b
- Page 152:
To install all the roles within a f
- Page 155 and 156:
Minimizing Downtime with Rolling De
- Page 157 and 158:
Minimizing Downtime with Rolling De
- Page 159 and 160:
Minimizing Downtime with Rolling De
- Page 161 and 162:
Minimizing Downtime with Rolling De
- Page 163 and 164:
Minimizing Downtime with Rolling De
- Page 165 and 166:
Minimizing Downtime with Rolling De
- Page 167 and 168:
Minimizing Downtime with Rolling De
- Page 169 and 170:
Minimizing Downtime with Rolling De
- Page 171 and 172:
Minimizing Downtime with Rolling De
- Page 173 and 174:
Minimizing Downtime with Rolling De
- Page 175 and 176:
Minimizing Downtime with Rolling De
- Page 177 and 178:
Troubleshooting AnsibleVerbosityWhe
- Page 179 and 180:
Troubleshooting AnsibleNow, when we
- Page 181 and 182:
Troubleshooting AnsibleFor an examp
- Page 183 and 184:
Troubleshooting AnsibleSubelement v
- Page 185 and 186:
Troubleshooting AnsibleDebugging lo
- Page 187 and 188:
Troubleshooting AnsibleTo start deb
- Page 189 and 190:
Troubleshooting AnsibleFrom here, w
- Page 191 and 192:
Troubleshooting AnsibleNow we can r
- Page 193 and 194:
Troubleshooting AnsibleAs we can se
- Page 195 and 196:
Troubleshooting AnsibleWe'll put th
- Page 197 and 198:
Troubleshooting AnsibleAn unfortuna
- Page 200 and 201:
Extending AnsibleAnsible takes the
- Page 202 and 203:
Chapter 8Simple moduleTo demonstrat
- Page 204 and 205:
Chapter 8- name: ensure foofile:pat
- Page 206 and 207:
Chapter 8The format of the string i
- Page 208 and 209:
Chapter 8Rerunning the playbook wil
- Page 210 and 211:
Chapter 8Each return item is listed
- Page 212 and 213:
If our module does not return facts
- Page 214 and 215:
Chapter 8Although the module output
- Page 216 and 217:
Now, we can use this filter in a pl
- Page 218 and 219:
Chapter 8Callbacks can be utilized
- Page 220 and 221:
Chapter 8Distributing pluginsMuch l
- Page 222 and 223:
Chapter 8Listing hostsWhen the --li
- Page 224 and 225:
Chapter 88. After parsing the argum
- Page 226 and 227:
Chapter 8To use our new inventory p
- Page 228 and 229:
Now, we'll re-run the inventory_tes
- Page 230 and 231:
IndexAaction plugins 198Ansibleabou
- Page 232 and 233:
Pexecution 21-24construct 180custom
- Page 234 and 235:
Thank you for buyingMastering Ansib
- Page 236:
Ansible ConfigurationManagementISBN