如何成功使用雪诺唱片?

2024-09-30 22:19:16 发布

您现在位置:Python中文网/ 问答频道 /正文

有人尝试过ansible 2.5中的snow_唱片吗?当我试着跑的时候:

---
- name: executue sth
  hosts: localhost
  connection: local
  gather_facts: no
  ignore_errors: True
  tasks:

    - name: update an incident
      snow_record:
        username: test
        password: test2
        instance: dev9999
        state: present
        number: CHG0064887
        data:
          work_notes : "Been working all day on this thing."

我收到错误:

^{pr2}$

顺便说一句,我必须自己安装pysnow,我想一旦我升级到ansible2.5,所有的需求都会自动安装。在


Tags: nonamelocalhostlocalansibleconnectionignorehosts