Commit 809396c3 authored by Eric Pellegrini's avatar Eric Pellegrini

removed useless single include in configure-environment task

parent 910a4ae0
- name: add kub-admin user to docker group
user:
name: kub-admin
password: $6$D2koCoNSDpEvNxAz$V6C7ZeMCUh2fai0QgvHtdJVMYoMXIzGtucVYf8a7fyTai0W.a94GKHfqIveF/ISVPtks8PlOYjQOx9yUpmZdy0
generate_ssh_key: yes
state: present
system: no
group: docker
create_home: yes
home: /kub-admin
shell: /bin/bash
groups:
- sudo
# Dirty hack for setting up no_proxy in case kub cluster is behind a proxy
# see https://medium.com/@gargankur74/setting-up-standalone-kubernetes-cluster-behind-corporate-proxy-on-ubuntu-16-04-1f2aaa5a848
- name: add no_proxy to .bashrc
blockinfile:
path: "{{ kub_admin_home }}/.bashrc"
block: |
export no_proxy="{{ configured_no_proxy }}"
export NO_PROXY=$no_proxy
---
# tasks file for create-admin
- include: create-admin.yml
- name: add kub-admin user to docker group
user:
name: kub-admin
password: $6$D2koCoNSDpEvNxAz$V6C7ZeMCUh2fai0QgvHtdJVMYoMXIzGtucVYf8a7fyTai0W.a94GKHfqIveF/ISVPtks8PlOYjQOx9yUpmZdy0
generate_ssh_key: yes
state: present
system: no
group: docker
create_home: yes
home: /kub-admin
shell: /bin/bash
groups:
- sudo
# Dirty hack for setting up no_proxy in case kub cluster is behind a proxy
# see https://medium.com/@gargankur74/setting-up-standalone-kubernetes-cluster-behind-corporate-proxy-on-ubuntu-16-04-1f2aaa5a848
- name: add no_proxy to .bashrc
blockinfile:
path: "{{ kub_admin_home }}/.bashrc"
block: |
export no_proxy="{{ configured_no_proxy }}"
export NO_PROXY=$no_proxy
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment