summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index c99891f..06af7da 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -18,10 +18,12 @@
include_vars: '{{ ansible_os_family }}.yml'
- name: Install the apache httpd package
+ become: True
package:
name: '{{ httpd_package_name }}'
- name: Start the apache httpd service
+ become: True
service:
name: '{{ httpd_service_name }}'
state: started