removed deprecated user in favor of remote_user

pull/63/head
Brian Coca 9 years ago
parent b1e5b3990f
commit b0232506c5
  1. 2
      jboss-standalone/site.yml
  2. 2
      lamp_haproxy/rolling_update.yml
  3. 10
      lamp_haproxy/site.yml
  4. 2
      language_features/ansible_pull.yml
  5. 2
      language_features/conditionals_part1.yml
  6. 2
      language_features/conditionals_part2.yml
  7. 2
      language_features/environment.yml
  8. 4
      language_features/eucalyptus-ec2.yml
  9. 2
      language_features/file_secontext.yml
  10. 2
      language_features/group_commands.yml
  11. 2
      language_features/intermediate_example.yml
  12. 4
      language_features/intro_example.yml
  13. 2
      language_features/loop_with_items.yml
  14. 2
      language_features/mysql.yml
  15. 2
      language_features/nested_playbooks.yml
  16. 2
      language_features/prompts.yml
  17. 2
      language_features/register_logic.yml
  18. 4
      language_features/tags.yml
  19. 2
      language_features/user_commands.yml
  20. 2
      mongodb/playbooks/testsharding.yml
  21. 2
      tomcat-standalone/site.yml
  22. 2
      wordpress-nginx/site.yml

@ -2,7 +2,7 @@
# This playbook deploys a simple standalone JBoss server.
- hosts: jboss-servers
user: root
remote_user: root
roles:
- jboss-standalone

@ -12,7 +12,7 @@
tasks: []
- hosts: webservers
user: root
remote_user: root
serial: 1
# These are the tasks to run before applying updates:

@ -3,13 +3,13 @@
# Apply common configuration to all hosts
- hosts: all
user: root
remote_user: root
roles:
- common
# Configure and deploy database servers.
- hosts: dbservers
user: root
remote_user: root
roles:
- db
@ -17,20 +17,20 @@
# the 'base-apache' role which simply sets up Apache, and 'web' which includes
# our example web application.
- hosts: webservers
user: root
remote_user: root
roles:
- base-apache
- web
# Configure and deploy the load balancer(s).
- hosts: lbservers
user: root
remote_user: root
roles:
- haproxy
# Configure and deploy the Nagios monitoring node(s).
- hosts: monitoring
user: root
remote_user: root
roles:
- base-apache
- nagios

@ -16,7 +16,7 @@
---
- hosts: pull_mode_hosts
user: root
remote_user: root
vars:

@ -14,7 +14,7 @@
# as root
- hosts: all
user: root
remote_user: root
# we have a common list of variables stored in /vars/external_vars.yml
# that we will always import

@ -3,7 +3,7 @@
# certain tasks on machines/platforms/etc where they do not apply.
- hosts: all
user: root
remote_user: root
vars:
favcolor: "red"

@ -8,7 +8,7 @@
- hosts: all
user: root
remote_user: root
# here we make a variable named "env" that is a dictionary
vars:

@ -14,7 +14,7 @@
- name: Stage instance(s)
hosts: local
connection: local
user: root
remote_user: root
gather_facts: false
vars:
@ -53,7 +53,7 @@
# This play targets the new host group
- name: Configure instance
hosts: deploy
user: root
remote_user: root
# Do some stuff on each instance ....

@ -1,7 +1,7 @@
---
# This is a demo of how to manage the selinux context using the file module
- hosts: test
user: root
remote_user: root
tasks:
- name: Change setype of /etc/exports to non-default value
file: path=/etc/exports setype=etc_t

@ -2,7 +2,7 @@
# This is a demo of how the group command works.
- hosts: all
user: root
remote_user: root
sudo: yes
tasks:

@ -67,7 +67,7 @@
# if you want. sudo support is coming too.
- hosts: webservers
user: mdehaan
remote_user: mdehaan
# vars must be specified again for the next play in the playbook
# but can be reused by including from vars_files if you want

@ -9,10 +9,10 @@
- name: example play
hosts: all
user: root
remote_user: root
# could have also have done:
# user: mdehaan
# remote_user: mdehaan
# sudo: yes
# make these variables available inside of templates

@ -4,7 +4,7 @@
# multiple users
- hosts: all
user: root
remote_user: root
tasks:

@ -4,7 +4,7 @@
---
- hosts: all
user: root
remote_user: root
tasks:

@ -10,7 +10,7 @@
- name: this is a play at the top level of a file
hosts: all
user: root
remote_user: root
tasks:
- name: say hi
tags: foo

@ -4,7 +4,7 @@
# of a playbook run, for example, as part of a release script.
- hosts: all
user: root
remote_user: root
# regular variables are a dictionary of keys and values

@ -4,7 +4,7 @@
# easy to do, and here we'll show you how.
- name: test playbook
user: root
remote_user: root
hosts: all
tasks:

@ -13,7 +13,7 @@
- name: example play one
hosts: all
user: root
remote_user: root
# any tags applied to the play are shorthand to applying
# the tag to all tasks in it. Here, each task is given
@ -33,7 +33,7 @@
- name: example play two
hosts: all
user: root
remote_user: root
tasks:
- name: hi
tags:

@ -3,7 +3,7 @@
# in vars sections. You could also use vars_files if you like (see other examples)
- hosts: all
user: root
remote_user: root
vars:
# created with:
# python -c 'import crypt; print crypt.crypt("This is my Password", "$1$SomeSalt$")'

@ -2,7 +2,7 @@
# The playbook creates a new database test and populates data in the database to test the sharding.
- hosts: $servername
user: root
remote_user: root
tasks:
- name: Create a new database and user
mongodb_user: login_user=admin login_password=${mongo_admin_pass} login_port=${mongos_port} database=test user=admin password=${mongo_admin_pass} state=present

@ -2,7 +2,7 @@
# This playbook deploys a simple standalone Tomcat 7 server.
- hosts: tomcat-servers
user: root
remote_user: root
roles:
- selinux

@ -1,7 +1,7 @@
---
- name: Install WordPress, MySQL, Nginx, and PHP-FPM
hosts: wordpress-server
user: root
remote_user: root
# remote_user: user
# sudo: yes