服务器 Gind.cn
  • Linux
  • Windows
  • Ubuntu
  1. 服务器 Gind.cn
  2. bashrc
  3. ansible-playbook无法使用.bashrc envvariables
Intereting Posts
如何在不使用JNDI数据源的情况下使用JDBC连接池? (在Apache Tomcat中) 为.local域上的IIS 7.5生成自签名通配符证书 我如何让RabbitMQ只听localhost? Ubuntu关机后,如何不丢失Windows XP路由器的有线连接? 远程loginterminal 桥接两个以太网/使用WiFi进行DHCP 32位RHEL4用户可以使用64位内核吗? Vnc带宽质量和压缩水平 ext3快照支持 networking充斥着M-SEARCH数据包:这是什么意思? 保护Linux服务器 Ubuntu 10.04端口3306 使用亚马逊RDS安装wordpress 获取zookeeper群集状态 Kerberos&signle-sign-on for website

ansible-playbook无法使用.bashrc envvariables

我正在使用ansible-playbook将我的django应用程序部署到Ubuntu服务器上。 我将我的django环境variables存储在服务器中的用户ubuntu的.bashrc文件中。 但是我的ansible-playbook并没有在.bashrc中使用envvariables,即使我以ubuntu用户身份运行。 有没有什么方法可以让我使用剧本来访问这些envvariables。

  • $ PATH可以在红帽的非loginshell中定义
  • 如何禁用vim或nano中的CTRL + Z背景?
  • 我应该添加别名到/ etc / profile而不是/ etc / basrhc?
  • 不能在bash脚本中使用从.bashrc中导出的函数
  • 更改主机列表上的根目录的.bashrc
  • 使用.bashrc自动挂载SAMBA共享
  • 注销用户,如果他们打破了bashrc命令
  • GNU屏幕和.bashrc
  • .bashrc在su'ing后不会被find
  • 有没有一些地方可以把自定义函数,然后在启动时采购?
  • 'source .bash_profile'失败,但是'source path / to / .bash_profile'起作用
  • 更改所有Bash用户的PS1值
  • 凯特编辑的别名
  • 我在哪里放别名?
  • 更改/ etc / bashrc?

  • © 2017 服务器 Gind.cn
  • Topics
  •        
  • Powered by Server
  • Privacy Policy