Linux Journal November 2017 by Linux Journal

Linux Journal November 2017 by Linux Journal

Author:Linux Journal
Language: eng
Format: mobi, epub
Tags: Parallel Distributed Shell, Linux, Desktop, Heterogeneous, Authentication, CLIC, Clusters, Instant, Tips, Server Farm, Android, CLuster In the Cloud, Shell, Python, Google Compute Engine, Equations, GCE, Roles, Science, Linux Journal, Shell Scripts, Alarmy, PuTTY, Hosts, SSH Agent, Security, Spyder, pdsh, Keypairs, Qubes, UNIX, External Processes, Servers, Keys, Ansible, SSH, Anaconda, Cloud
Publisher: Belltown Media
Published: 2017-10-28T07:00:00+00:00


Figure 3. I love the command line, but these search results are frustrating.

Once you install a role, it is immediately available for you to use in your own playbooks, because it’s installed in the system-wide roles folder. In my case, that’s /etc/ansible/roles (Figure 4). So now, if I create a playbook like this:

---

- hosts: cadlab

roles:

- geerlingguy.apache

Apache will be installed on all my cadlab computers, regardless of what distribution they’re using. If you want to see how the role (which is just a bunch of tasks, handlers and so forth) works, just pick through the folder structure inside /etc/ansible/roles/geerlingguy.apache/. It’s all right there for you to use or modify.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.