临时3

Posted wuxie1989

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了临时3相关的知识,希望对你有一定的参考价值。

  

- name : auto_oracle_as_root
remote_user: root
hosts: localhost
vars:
epic: true
tasks:
- name: add_group_oinstall
group:
name={{ item }}
state=present
with_items:
- oinstall
- dba

- name: add user
user:
name=oracle
group=oinstall
groups=dba
home=/home/oracle
uid=700
password={{ password }}

- name: test os
shell: echo "only on Red Hat 6, derivatives, and later"
when: ansible_os_family == "Centos"

- name: test epic
shell: echo "This certainly is epic!"
when: epic

- name: test not epic
shell: echo "This certainly is not epic!"
when: not epic

- name: modify /etc/security/limits.conf
lineinfile:
path=/etc/security/limits.conf
line={{item}}
state=present
with_items:
- ‘oracle soft nproc 2047‘
- ‘oracle hard nproc 16384‘
- ‘oracle soft nofile 1024‘
- ‘oracle hard nofile 65536‘

- name: run some shell command
command: echo {{ item }}
with_items: [0,1,2,3,4,5,6,7]
when: item > 5

以上是关于临时3的主要内容,如果未能解决你的问题,请参考以下文章

mysql之临时表

什么是oracle的临时表??

如何防止 Selenium 3.0 (Geckodriver) 创建临时 Firefox 配置文件?

数据库——创建局部临时表和全局临时表

MySQL中的两种临时表

oracle存储过程中临时表的使用,该怎么处理