From 9cac39786e63d655eceb3ecbd74b3df8461654d3 Mon Sep 17 00:00:00 2001 From: Larry Smith Jr Date: Wed, 19 Dec 2018 09:50:10 -0500 Subject: Cleaned up Vagrant and merged new commits --- tasks/redhat.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'tasks/redhat.yml') diff --git a/tasks/redhat.yml b/tasks/redhat.yml index afa714c..0c7b97a 100644 --- a/tasks/redhat.yml +++ b/tasks/redhat.yml @@ -1,24 +1,27 @@ --- - name: redhat | installing pre-reqs yum: - name: "{{ item }}" + name: ['epel-release', 'wget'] state: present become: true - with_items: - - epel-release - - wget + register: result + until: result is successful - name: redhat | installing erlang yum: - name: "erlang" + name: erlang state: present become: true + register: result + until: result is successful - name: redhat | adding RabbitMQ public GPG key rpm_key: key: "{{ rabbitmq_redhat_repo_key }}" state: present become: true + register: result + until: result is successful - name: redhat | downloading RabbitMQ get_url: @@ -31,10 +34,12 @@ name: "/opt/{{ rabbitmq_redhat_package }}" state: present become: true + register: result + until: result is successful - name: redhat | starting and enabling RabbitMQ service service: - name: "rabbitmq-server" + name: rabbitmq-server state: started enabled: yes become: true -- cgit v1.2.3