rm tmpfile

pull/26/head
guanghongwei 2015-10-04 21:50:51 +08:00
parent 9f7b066ca6
commit fef3879c85
24 changed files with 0 additions and 228 deletions

View File

@ -1,3 +0,0 @@
[new]
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat
[del]

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: admin
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: admin
tasks:
- name: del user
user: name={{ user }} state=absent remove=yes

View File

@ -1,3 +0,0 @@
[new]
[del]
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: admin
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: admin
tasks:
- name: del user
user: name={{ user }} state=absent remove=yes

View File

@ -1,3 +0,0 @@
[new]
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat
[del]

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: admin
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: admin
tasks:
- name: del user
user: name={{ user }} state=absent

View File

@ -1,3 +0,0 @@
[new]
[del]
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: admin
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: admin
tasks:
- name: del user
user: name={{ user }} state=absent

View File

@ -1,4 +0,0 @@
[new]
[del]
127.0.0.1 ansbile_ssh_port=22
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat

View File

@ -1,10 +0,0 @@
- hosts: new
vars:
user: testfd
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600

View File

@ -1,4 +0,0 @@
[new]
127.0.0.1 ansbile_ssh_port=22
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat
[del]

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: testfd
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: testfd
tasks:
- name: del user
user: name={{ user }} state=absent

View File

@ -1,5 +0,0 @@
[new]
127.0.0.1 ansbile_ssh_port=22
[del]
127.0.0.1 ansbile_ssh_port=22
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: testfd
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: testfd
tasks:
- name: del user
user: name={{ user }} state=absent

View File

@ -1,4 +0,0 @@
[new]
127.0.0.1 ansbile_ssh_port=22
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat
[del]

View File

@ -1,10 +0,0 @@
- hosts: new
vars:
user: testfd
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600

View File

@ -1,3 +0,0 @@
[new]
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat
[del]

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: admin
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: admin
tasks:
- name: del user
user: name={{ user }} state=absent remove=yes

View File

@ -1,3 +0,0 @@
[new]
[del]
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: admin
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: admin
tasks:
- name: del user
user: name={{ user }} state=absent remove=yes

View File

@ -1,11 +0,0 @@
- hosts: hello world
vars:
user: testuserssss
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600

View File

@ -1,6 +0,0 @@
[world]
125.39.8.222 ansbile_ssh_port=2234
202.106.0.20 ansbile_ssh_port=22
[hello]
125.39.8.222 ansbile_ssh_port=2234
202.106.0.20 ansbile_ssh_port=22

View File

@ -1,3 +0,0 @@
[new]
192.168.244.129 ansible_ssh_port=22 ansible_ssh_user=root ansbile_ssh_pass=redhat
[del]

View File

@ -1,17 +0,0 @@
- hosts: new
vars:
user: admin
tasks:
- name: add user
user: name={{ user }} state=present
- name: .ssh direcotory
file: name=/home/{{ user }}/.ssh mode=700 owner={{ user }} group={{ user }} state=directory
- name: set authorizied_file
copy: src=/tmp/id_rsa.pub dest=/home/{{ user }}/.ssh/authorizied_keys owner={{ user }} group={{ user }} mode=600
- hosts: del
vars:
user: admin
tasks:
- name: del user
user: name={{ user }} state=absent