Randomly Expressed

About

Welcome to my blog “randomly expressed”. I created this website to publish helpful tips. It’s mainly technology driven, but I will blog about other topics. I am a Unix sysadmin that is always looking to learn new things. My goal is to be able to share knowledge that others may find useful. xkcd.com

Continue Reading »

Contact

Connect With US

Connect with us on the following social networking sites.

Most Popular Posts.

Add Some Content to This Area

You should either deactivate this panel on the Theme Settings page, or add some content via the Widgets page in your WordPress dashboard.

Tag: Ansible

Ansible Windows DataDog agent install

By on December 2, 2018 in Technology with No Comments

The following is a Ansible Windows playbook that will download the latest version of the Data Dog agent and install it. It will also add data dog tags to the Window’s server. If you have lots of Windows servers to manage Ansible can help out with that. Ansible Windows modules documentation — – name: DataDog […]

Continue Reading »

AWX tower-cli playbook with extra variables

By on October 25, 2018 in Technology with No Comments

Ansible Tower or the open source version AWX is a great addition for those of you using Ansible playbooks. One of the the many features is the ability to run playbooks via an API. I am going to go over an example on how to run a playbook using the tower-cli utility. The preferred way […]

Continue Reading »

Variable via shell command in Ansible

By on March 19, 2017 in Technology with 1 Comment

The ability to run shell commands and pass the output to a variable will enable you to add more logic to your playbooks. How to set a variable from the output of a shell command in your Ansible playbook? You will need to use the shell module to run your command and then use the […]

Continue Reading »

Ansible CentrifyDC Express playbook

By on February 10, 2017 in Technology with No Comments

The following Ansible playbook will install CentrifyDC express via yum or rpm depending on the OS. The CentrifyDC express package allows you bind Linux servers to your Active Directory server. This will allow you to ssh to your Linux servers using your AD credentials and use AD groups for sudoers access. It comes in pretty […]

Continue Reading »

Ansible Slack playbook

By on February 4, 2017 in Technology with No Comments

Creating an Ansible Slack playbook is a great way of posting messages in your slack channel from your various playbook runs. This keeps everyone else in the loop of the changes that are happening. The following is an Ansible playbook that uses the Slack module. The token is derived from your web hook URL that […]

Continue Reading »

Top