Merge "Remove connection: local usage"

This commit is contained in:
Jenkins 2017-05-03 13:47:27 +00:00 committed by Gerrit Code Review
commit 11d75c6d61
6 changed files with 5 additions and 7 deletions

View File

@ -17,7 +17,6 @@
serial: 1
become: true
gather_facts: false
connection: local
tasks:
- name: Destroy a container
lxc_container:

View File

@ -13,6 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Note(odyssey4me):
# This uses a local connection for the lint test which
# never sets up host keys and therefore cannot connect
# to localhost as a remote host.
#
- name: Clone the role ansible-role-requirements
hosts: localhost
connection: local

View File

@ -15,7 +15,6 @@
- name: Execute the openstack-host role
hosts: localhost
connection: local
become: true
gather_facts: true
pre_tasks:

View File

@ -15,7 +15,6 @@
- name: Playbook for creating containers
hosts: localhost
connection: local
become: true
gather_facts: true

View File

@ -15,7 +15,6 @@
- name: Playbook for configuring hosts
hosts: localhost
connection: local
become: true
pre_tasks:
- include: "common-tasks/test-set-nodepool-vars.yml"
@ -33,7 +32,6 @@
- name: Playbook for configuring the LXC host
hosts: localhost
connection: local
become: true
roles:
- role: "lxc_hosts"

View File

@ -15,7 +15,6 @@
- name: Playbook for establishing ssh keys
hosts: localhost
connection: local
gather_facts: false
become: true
tasks:
@ -58,7 +57,6 @@
- name: Playbook for establishing user ssh keys
hosts: localhost
connection: local
become: false
tasks:
# Shell used because facts may not be ready yet